package net.playcabbage.utility;

public class WebUtility {

	private String DOMAIN = "http://playcabbage.net";

	public WebUtility() {

	}

	public String getCurrentDomain(String serverName) {
		String cd = null;
		if (serverName.matches(".*localhost.*")) {
			cd = "http://localhost:8080";
		}else {
			cd = DOMAIN;
		}
		return cd;
	}
}
